package com.eastmoney.emis.edda.infrastructure.encrypt;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.infrastructure
 * @author: 汪程程
 * @date: 2022/9/26 3:16 PM
 * @version: 1.0
 */
public interface Encryption {

    byte[] signAndEncrypt(byte[] data);

    byte[] encrypt(byte[] data);

    byte[] decrypt(byte[] ciphertext);

    byte[] verifyAndDecrypt(byte[] ciphertext);

}
